package org.streets.eis.ext.analysis.entities;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.streets.database.datadict.ColumnDefinition;
import org.streets.eis.ext.analysis.components.ColumnWrapper;

@Entity
@Table(name="eis_query_disp")
public class DisplayField extends Field implements Serializable {
	
	private static final long serialVersionUID = 1L;	
	private String funcSign;
	private String tableNameOrAlias;
	private String restrictions;
	
	public DisplayField(){
		super();
	}

	public DisplayField(String tableCode,String fieldCode,String fieldName){
		super( tableCode,fieldCode,fieldName);
	}

	public DisplayField(ColumnDefinition col){
		super(col);	
	}

	
	public DisplayField(ColumnWrapper col){
		super(col);
		if (col != null){
		}
	}
	
	public void setFuncSign(String funcSign) {
		this.funcSign = funcSign;
	}
	public String getFuncSign() {
		return funcSign;
	}

	public void setTableNameOrAlias(String tableNameOrAlias) {
		this.tableNameOrAlias = tableNameOrAlias;
	}

	public String getTableNameOrAlias() {
		return tableNameOrAlias;
	}

	public void setRestrictions(String restrictions) {
		this.restrictions = restrictions;
	}

	public String getRestrictions() {
		return restrictions;
	}

}
